package itsm.isperp.module.repository.slm;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.db.DbEntity;
import itsm.isperp.module.entity.slm.SlmAlarmSetting;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/// <summary>
/// 描述:slm_alarm_setting
/// 创建者:zhouhg
/// 创建时间:2013/3/13
/// </summary>
@Repository
public interface SlmAlarmSettingMapper extends CUDMapper<SlmAlarmSetting> {

	void deleteByServiceTargetId(
			@Param("serviceTargetId") String serviceTargetId);

	void deleteByAgreementId(@Param("agreementId") String agreementId);

	void deleteByProjectId(@Param("projectId") String projectId);

	DbEntity findDbEntityById(@Param("id") String id);

}
